package com.qqtech.qquan.hi.service;

import java.math.BigDecimal;

import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.hi.model.HiRule;

public interface HiOrderService extends BaseService<HiRule> {
	
	/**
	 * 下单成功(支付完成)
	 * @param userId
	 * @param orderId 订单id
	 * @return
	 */
	public void orderSuccess(Integer userId, Integer orderId);
	
	/**
	 * 下单评价
	 * @param userId
	 * @param orderId 订单id
	 * @return
	 */
	public void orderComment(Integer userId, Integer orderId);
	
	/**
	 * 订单交易完成(订单签收-商城专用)
	 * @param userId
	 * @param orderId 订单id
	 * @param orderId 订单实际支付金额
	 * @return
	 */
	public void orderSigned(Integer userId, Integer orderId, BigDecimal total);
	
	/**
	 * 订单交易完成(订单签收-圈圈便利店专用)
	 * @param userId
	 * @param orderId 订单id
	 * @param orderId 订单实际支付金额
	 * @return
	 */
	public void orderSigned4QqStore(Integer userId, Integer orderId, BigDecimal total);
	
}